﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExportToExcel.aspx.cs" Inherits="PreContractWeb.Report.ExportToExcel" %>
<html>
<head>
    <style type="text/css">

        .row_title
        {
            text-align:center;
            background-color: #F3EAFE;
            font-size: 9pt;
            font-family: 'FuturaA Bk BT' , Arial;
            font-weight: bold;

        }
        .title_month
        {
            text-align:center;
            background-color: #F3EAFE;
            font-size: 9pt;
            font-family: 'FuturaA Bk BT' , Arial;

        }
        .title_quater
        {
            text-align: center;
            background-color: #EFD9FE;
            font-size: 9pt;
            font-family: 'FuturaA Bk BT' , Arial;
        }
        .title_year
        {
            text-align: center;
            background-color: #EFCEFE;
        }

        .row_body
        {
            text-align:center;
            background-color: #FFFFFF;
            font-size: 9pt;
            font-family: 'FuturaA Hv BT' , Arial;
        }
        .report_title
        {
            font-size: 12pt;
            font-family: 'FuturaA Hv BT' , Arial;
            font-weight: bold;
        }
        .row_total
        {
            text-align: center;
            background-color: #C5C4CA;
            font-size: 9pt;
            font-weight: bold;
            font-family: 'FuturaA Bk BT' , Arial;
        }
        .row_subtotal
        {
            text-align: center;
            background-color: #C5C4CA;
            font-size: 9pt;
            font-weight: bold;
            font-family: 'FuturaA Bk BT' , Arial;
            font-style: italic;
        }
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
    <div id="divReport" runat="server"></div>
    <input type="hidden" id="msg" name="msg" runat="server" value="" />
    
         <script language="javascript" >
            var lblError=window.parent.document.getElementById("ctl00_ContentPlaceHolder1_divError");
            if (msg.value=="TimeOut")
            {
                
                alert("会话过期,请重新运行报表并导出！\nCurrent session expired, please run the report and export again!");   
                //window.parent.parent.location.href="../login.aspx";    
            }
            else if (msg.value!="")
            {
                alert(msg.value);
                if (lblError!=null)
                    lblError.innerHTML="";  
            }
        </script>   
    
</body>
</html>
